package cn.lingyangwl.agile.system.model.rqrs.role;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 角色权限数据规则查询
 * @author shenguangyang
 */
@Getter
@Setter
@ToString
public class RolePermissionDataRuleSaveReq {
    @NotNull(message = "请选择角色")
    private Long roleId;
    /**
     * 数据规则ids, 逗号分隔
     */
    @NotNull(message = "请选择菜单")
    private Long permissionId;

    private String dataRuleIds;

    public RolePermissionDataRuleSaveReq() {

    }
}
